import { request } from "../utils";

// 登录
export function loginAPI(loginForm) {
  return request({
    url:"/v1_0/authorizations",
    method:"POST",
    data:loginForm
  })
}

// 获取用户信息
export function getUserInfoAPI() {
    return request({
      url:"/v1_0/user/profile",
      method:"GET"
    })
  }
  